// page layout:: start
const LayoutStatus = {
    "DISPERSED": "dispersed",
    "TILED": "tiled",
    "FOCUSED": "focused"
}
const LayoutMutations = {
    "SET_LAYOUT_STATUS": "set_layout_status"
}
const LayoutActions = {
    "FOCUS": "focus",
    "TILE": "tile",
    "DISPERSE": "disperse"
}
// page layout:: end


// window:: start
const WinStatus = {
    "ERASED": "erased",
    "NORMAL": "nm",
    "LARGE": "lg"
}
const WinType = {
    "EXTRA_SMALL": "xs",
    "SMALL": "sm"
}
const WinTag = {
    "TAG_LEFT_TOP": "win_lt",
    "TAG_LEFT_MIDDLE": "win_lm",
    "TAG_LEFT_BOTTOM": "win_lb",
    "TAG_RIGHT_TOP": "win_rt",
    "TAG_RIGHT_MIDDLE": "win_rm",
    "TAG_RIGHT_BOTTOM": "win_rb",
}
const WinPos = {
    "POSITION_LEFT_TOP": "pos-lt",
    "POSITION_LEFT_MIDDLE": "pos-lm",
    "POSITION_LEFT_BOTTOM": "pos-lb",
    "POSITION_RIGHT_TOP": "pos-rt",
    "POSITION_RIGHT_MIDDLE": "pos-rm",
    "POSITION_RIGHT_BOTTOM": "pos-rb",
    "POSITION_CENTER_MIDDLE": "pos-cm",
    "POSITION_ERASED": "pos-es"
}
const WinMutations = {
    "SET_WINDOW_TYPE": "set_window_type",
    "SET_WINDOW_TAG": "set_window_tag",
    "SET_WINDOW_STATUS": "set_window_status",
    "SET_WINDOW_POSITION": "set_window_position",
    "INIT_WINDOW": "INIT_WINDOW"
}
const WinActions = {
    "ERASE": "erase",
    "ENLARGE": "enlarge",
    "RECOVER": "recover"
}
// window:: end

// start:: Lab Layout
const LabLayout = {
    Mutations: {
        "SET_BREADCRUMB": "setBreadcrumb",

        "SET_LAYOUT_CONFIG": "setLayoutConfig",
        "RESET_LAYOUT_CONFIG": "resetLayoutConfig",
        "OVERRIDE_LAYOUT_CONFIG": "overrideLayoutConfig",
        "OVERRIDE_PAGE_LAYOUT_CONFIG": "overridePageLayoutConfig",

        "SET_CLASSNAME_BY_POSITION": "setClassnameByPosition"
    },
    Actions: {
        "SET_BREADCRUMB": "setBreadcrumb",

        "ADD_BODY_CLASSNAME": "addBodyClassName",
        "REMOVE_BODY_CLASSNAME": "removeBodyClassName",
        "ADD_BODY_ATTRIBUTE": "addBodyAttribute",
        "REMOVE_BODY_ATTRIBUTE": "removeBodyAttribute",
        "ADD_CLASSNAME": "addClassName"
    }
}
// end:: Lab Layout

// start:: index main layout
const IdxMainLayout = {
    "STATUS": {
        "DISPERSED": "status-dispersed",
        "TILED": "status-tiled",
        "TILING": "status-tiling",
        "DISPERSING": "status-dispersing"
    },
    "TYPE": {
        "EXTRA_SMALL": "xs",
        "SMALL": "sm"
    },
    Mutations: {
        // Layouts
        "SET_STATUS": "setStatus",
        "SET_TYPE": "setType",
        "SET_FOCUSED_VIEW": "setFocusedView",
        "SET_FOCUSING_VIEW": "setFocusingView",
        "SET_FOCUSING_OUT_VIEW": "setFocusingOutView",
        // Themes
        "SET_THEME_VIEW_STYLE": "setThemeViewStyle",
        "SET_THEME_ORNAMENT_BED_DISPLAY": "setThemeOrnamentBedDisplay",
        "SET_THEME_ORNAMENT_BED_LIGHT_DISPLAY": "setThemeOrnamentBedLightDisplay",
        "SET_THEME_ORNAMENT_SPOT_LIGHT_DISPLAY": "setThemeOrnamentSpotLightDisplay",
        "SET_THEME_TITLE_DISPLAY": "setThemeTitleDisplay"
    },
    Actions: {
        // Layouts
        "DISPERSE": "dispersed",
        "TILE": "tile",
        "FOCUS": "focus",
        "FOCUS_OUT": "focus_out",
        // Themes
        "SHOW_ORNAMENT_BED": "showOrnamentBed",
        "HIDE_ORNAMENT_BED": "hideOrnamentBed",
        "EXCHANGE_ORNAMENT_BED": "exchangeOrnamentBed",
        "SHOW_ORNAMENT_BED_LIGHT": "showOrnamentBedLight",
        "HIDE_ORNAMENT_BED_LIGHT": "hideOrnamentBedLight",
        "EXCHANGE_ORNAMENT_BED_LIGHT": "exchangeOrnamentBedLight",
        "SHOW_ORNAMENT_SPOT_LIGHT": "showOrnamentSpotLight",
        "HIDE_ORNAMENT_SPOT_LIGHT": "hideOrnamentSpotLight",
        "EXCHANGE_ORNAMENT_SPOT_LIGHT": "exchangeOrnamentSpotLight",
        "SHOW_THEME_TITLE": "showThemeTitle",
        "HIDE_THEME_TITLE": "hideThemeTitle",
        "EXCHANGE_THEME_TITLE": "exchangeThemeTitle"
    },
    Theme: {
        "STYLE": {
            "BLUE": "blue",
            "GOLDEN": "golden"
        }
    }
}
// end::   index main layout
export {
    LayoutStatus, LayoutMutations, LayoutActions,
    WinStatus, WinType, WinTag, WinPos, WinMutations, WinActions,
    LabLayout,
    IdxMainLayout
}